require_once 'lib/controllerWithoutGetOrPost.php';
function getAllSurnames() {
    global $db;
    $sql = 'SELECT ID, Name FROM Person';
    $result = $db->query($sql);
    return $db->fetch($result);
}
$surnames = getAllSurnames();
?>
